package com.iter.devbox.pattern.dynamicproxy;

import java.lang.reflect.Proxy;

public class Client {

	public static void main(String[] args) {
		Shows shows = new Star();
		BrokerHandler brokerHandler = new BrokerHandler(shows);
		Shows proxy = (Shows)Proxy.newProxyInstance(Shows.class.getClassLoader(), new Class[]{Shows.class}, brokerHandler);
		proxy.discuss();
		proxy.perform();
	}
}
